var ApiFactory = require('lib/ApiFactory')
  , format = require('lib/util/format')

module.exports = ApiFactory({
  url:function(params){
    return BlueWare.urlPrefix+'/dashboard/'+params.dashboardId+'/widget'
  },
  optionParams:['dashboardId'],
  params:{
    dashboardId:{
      defaultValue:BlueWare.dashboardId
    }
  }
})
